#ifndef SUBMITORDER_H
#define SUBMITORDER_H

#include <QWidget>
#include"controller/windowcontroller.h"

namespace Ui {
class SubmitOrder;
}

class SubmitOrder : public QWidget
{
    Q_OBJECT

public:
    explicit SubmitOrder(QWidget *parent = nullptr);
    ~SubmitOrder();

public:
    void setWindowController(WindowController* winCon__);

signals:
    void checkOnOver();

protected slots:
    //结算
    void checkOut();
    //选择了打折信息
    void selectOrderRole(int row,int column);

protected:
    void showPrice();
    void showOrder();
protected:
    WindowController* winCon;

private slots:
    void on_pushButton_clicked();

private:
    Ui::SubmitOrder *ui;
};

#endif // SUBMITORDER_H
